package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.BusinessInformation;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 信息视图对象 business_information
 *
 * @author zlj
 * @date 2024-11-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusinessInformation.class)
public class BusinessInformationVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 分类id
     */
    @ExcelProperty(value = "分类id")
    private Long flId;

    /**
     * 1招聘 2求购
     */
    @ExcelProperty(value = "1招聘 2求购")
    private String type;
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL,mapper = "type", other = "business_information_type")
    private String typeName;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String bt;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String nr;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String photo;

    @Translation(type = TransConstant.OSS_ID_TO_URL ,mapper = "photo")
    @ExcelProperty(value = "自我介绍照片，多图url")
    private String photoUrl;

    @ExcelProperty(value = "用户头像")
    private String wxAvatar;


    /**
     * 地址
     */
    @ExcelProperty(value = "地址")
    private String dz;

    /**
     * 身份
     */
    @ExcelProperty(value = "身份")
    private String sf;

    /**
     * 联系人姓名
     */
    @ExcelProperty(value = "联系人姓名")
    private String lxrXm;

    /**
     * 联系人电话
     */
    @ExcelProperty(value = "联系人电话")
    private String lxrDh;

    /**
     * 审核状态 0未审核 1待审核 2审核通过 3审核未通过
     */
    @ExcelProperty(value = "审核状态 0未审核 1待审核 2审核通过 3审核未通过")
    private String shzt;
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL,mapper = "shzt", other = "business_information_zt")
    private String shztName;

    /**
     * 审核理由
     */
    @ExcelProperty(value = "审核理由")
    private String shly;

    /**
     * 发布人id
     */
    @ExcelProperty(value = "发布人id")
    private Long userId;

    /**
     * 是否匿名 1不匿名 2匿名
     */
    @ExcelProperty(value = "是否匿名")
    private String sfnm;
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL,mapper = "sfnm", other = "sfnm")
    private String sfnmName;

    //工资待遇
    @ExcelProperty(value = "薪资待遇")
    private String money;

    // 是否喜欢
    private boolean sfxh = false;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String province;
    private String city;
    private String districts;


    private String distance;
    private String lxNameYj;
    private String lxNameEj;
    /**
     * 学历要求
     */
    private String education;
    /**
     * 工作经验
     */
    private String jobBenefits;


    /**
     * 职位福利
     */
    private String workExperience;


    /**
     * 性别
     */
    private String sex;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 企业名称
     */
    private String enterpriseName;


    /**
     * 地点名称
     */
    private String locationsName;
    /**
     * 创建人
     */
    @TableField(exist = false)
    private Long createBy;



}
